package com.legal.aid.system.mapper;

import com.legal.aid.system.domain.Lawyer;
import com.legal.aid.system.domain.vo.LawyerDetailVO;

import java.util.List;

/**
 * 律师信息Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-23
 */
public interface LawyerMapper 
{
    /**
     * 查询律师基本信息
     * 
     * @param lawyerId 律师信息主键
     * @return 律师信息
     */
    public LawyerDetailVO selectLawyerBaseInfoByLawyerId(Long lawyerId);

    /**
     * 查询律本信息
     * @param lawyerId
     * @return
     */
    public  Lawyer selectLawyerByLawyerId(Long lawyerId);
    /**
     * 查询律师信息列表
     * 
     * @param lawyer 律师信息
     * @return 律师信息集合
     */
    public List<Lawyer> selectLawyerList(Lawyer lawyer);

    /**
     * 新增律师信息
     * 
     * @param lawyer 律师信息
     * @return 结果
     */
    public int insertLawyer(Lawyer lawyer);

    /**
     * 修改律师信息
     * 
     * @param lawyer 律师信息
     * @return 结果
     */
    public int updateLawyer(Lawyer lawyer);

    /**
     * 删除律师信息
     * 
     * @param lawyerId 律师信息主键
     * @return 结果
     */
    public int deleteLawyerByLawyerId(Long lawyerId);

    /**
     * 批量删除律师信息
     * 
     * @param lawyerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLawyerByLawyerIds(Long[] lawyerIds);


}
